import { createPinia } from 'pinia';

const pinia = createPinia();
pinia.use(({ store }) => {
  store.$subscribe((mutation, state) => {
    console.log(mutation, state);
  });
});

export default pinia;
